





//
//  NCaiwuReportSubDetailCell.m
//  nncloud
//
//  Created by macfai on 2018/12/3.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NCaiwuReportSubDetailCell.h"

@implementation NCaiwuReportSubDetailCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    self.selectionStyle = 0;
    self.viewOne.backgroundColor = kBackgroundColor;
//    self.viewOne.backgroundColor =
    // Initialization code
}

- (void)setModel:(NReportSubDetailModel *)model{
    
    _model = model;
    self.nameTitleLabel.text = model.financeDetailsName;
    self.sumFour.text = model.financeDetailsEstimate;
    self.sumOne.text = [NSString stringWithFormat:@"%@",model.financeDetailsAccumulate1];
    self.sumTwo.text = [NSString stringWithFormat:@"%@",model.financeDetailsAccumulate2];
    self.sumThree.text = [NSString stringWithFormat:@"%@",model.financeDetailsCumulativeIncrease];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
